import {createRouter, createWebHistory} from "vue-router";
import CesiumEarth from "../components/CesiumEarth.vue";
const routerHistory = createWebHistory()

const router = createRouter({
    history: routerHistory,
    routes: [
        {path: "/",redirect: "/index.html"},
        {
            path: "/index.html",
            name: "CesiumEarth",
            component: ()=>import("../components/HelloLijun.vue")
        },{
            path: '/:pathMatch(.*)*',
            // component: ()=>import('../components/NotFound.vue')
            redirect: "/index.html"
        }
    ]

})

export default router
